Skip to main content

Design Language

I'm not a UI expert, however I try my best to adhear to a 60 30 10 color setup.

Colors

These are the colors currently used in the project:

Color CodeColor NameWhere Used
#09090bZinc-950Body background
#27272aZinc-800Background dot grid pattern
#e4e4e7Zinc-200Default body text, data text, table body cells, hover text
#a1a1aaZinc-400Labels, sub-labels, headers, button text, input text, table heads
#ffffffWhiteBold data values, ghost button hover, text selection
#3f3f46Zinc-600Scrollbar thumb, switch track (off state)
#52525bZinc-500Scrollbar thumb hover
#737373Neutral-500Ghost button text (idle)
#18181bZinc-900Dialog backgrounds (tech-dialog, confirm-dialog)
#121212Near-BlackSelect dropdown menu background
#0f0f0fOff-BlackTable header bg, expanded expansion bg
rgba(23,23,23,…)Zinc-900 (alpha)Glass panels, inputs, selects, toggles, expansions, tooltips
rgba(16,185,129,0.15)Emerald-500/15%Body radial glow, active toggle tint
rgba(16,185,129,0.3)Emerald-500/30%Action button border, text selection bg, dialog/tooltip border
rgba(16,185,129,0.1)Emerald-500/10%Action button bg, select hover/active bg, table row hover
rgba(16,185,129,0.4)Emerald-500/40%Input focus border, switch track (on state)
#34d399Emerald-400Active select option text, active toggle text, switch thumb (on)
rgba(16,185,129,0.7)Emerald-500/70%Expansion header text
rgba(52,211,153,0.2)Emerald-400/20%Dialog border, select menu border
#a16ae8LavenderLogo accent, doc inline code text, secondary badges
rgba(239,68,68,0.3)Red-500/30%Destructive button border, confirm dialog border
rgba(239,68,68,0.1)Red-500/10%Destructive button background
#f87171Red-400Destructive button text
#fca5a5Red-300Destructive button text (hover)
rgba(255,255,255,0.05)White/5%Glass border, header bar border, input border, expansion border
rgba(255,255,255,0.08)White/8%Secondary button border, outlined input border
rgba(255,255,255,0.1)White/10%Table container border, toggle border, table header bottom border
rgba(255,255,255,0.04)White/4%Secondary button background
rgba(255,255,255,0.02)White/2%Stat pill background, expansion header hover bg

Buttons:

The following classes are commonly used with buttons:

ClassUsage
tech-btn-actionPrimary actions (start, create, save)
tech-btn-action-2Toolbar / secondary actions
tech-btn-secondaryNeutral actions (refresh, export)
tech-btn-destructiveDestructive actions (delete, stop)
tech-btn-ghostInvisible until hover

Button Icons:

Most buttons have a correlating icon. This should be relevant to the button's function.

"+" Buttons:

Any button with a add icon denotes opening a new "thing". Currently, this is a ui.dialogue window.

For Example:

Operations:
  • "+ PAYLOAD": Opens the payload builder window
  • "+ LISTENER": Opens the listener builder window

Icon Reference:

Icons can be found at fonts.google.com

IconPurposeButton Class
addCreate / open builder dialogtech-btn-action
play_arrowStart a listener or render a profiletech-btn-action
restart_altRestart a listener or servicetech-btn-action
save / save_asSave / save-as (profiles)tech-btn-action
sendSend a chat messagetech-btn-action
uploadUpload a filetech-btn-action
loginNavigate to logintech-btn-action
terminalOpen terminal for selected implanttech-btn-action-2
open_in_newOpen detail page for selectedtech-btn-action-2
present_to_allUpload file to host/memstoretech-btn-action-2
upload_fileUpload a file or profiletech-btn-action-2
refreshRefresh current datatech-btn-secondary
download / cloud_downloadDownload file or export datatech-btn-secondary
codeView sourcetech-btn-secondary
inventory_2View packagetech-btn-secondary
bug_reportReport an issuetech-btn-secondary
stopStop a listener or servicetech-btn-destructive
deleteDelete selected itemstech-btn-destructive
delete_sweepClose all terminal tabstech-btn-destructive
help_outlineToggle syntax help sidebartech-btn-ghost
closeClose a dialog or tabtech-btn-ghost
arrow_backBack navigationtech-btn-ghost
first_page / last_pageJump to first/last page— (pagination)
chevron_left / chevron_rightPrevious/next page— (pagination)
IconPage
terminalOperations
device_hubEngagement Map
layersPayloads
headphonesListeners
folderFilestore
tuneProfiles
chatChat
policyAudit Log
arrow_circle_upStatus
settingsSettings
exit_to_appDisconnect
open_in_newDocs (external link)